package com.zhentao.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 
 * @TableName department
 */
@TableName(value ="department")
@Data
public class Department {
    /**
     * 科室id
     */
    @TableId(type = IdType.AUTO)
    private Integer kid;

    /**
     * 科室名称
     */
    private String kname;

    /**
     * 医院外键
     */
    private Integer hid;
}